package com.mzj.saas.mservice.eligible.repository;

import com.mzj.saas.mservice.eligible.entity.HouseCohabitMaterialOld;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.repository.PagingAndSortingRepository;

import java.util.List;

public interface HouseCohabitMaterialOldRepository extends PagingAndSortingRepository<HouseCohabitMaterialOld, Long>, JpaSpecificationExecutor<HouseCohabitMaterialOld> {
    List<HouseCohabitMaterialOld> findByCohabitId(String cohabitId);

}
